$OpenBSD: patch-src_core_CMakeLists_txt,v 1.18 2017/04/25 11:54:54 landry Exp $

chunk 1: workaround $area expansion issue with gmake expanding to $$$$area

--- src/core/CMakeLists.txt.orig	Fri Apr 21 14:35:40 2017
+++ src/core/CMakeLists.txt	Tue Apr 25 11:10:14 2017
@@ -365,7 +365,7 @@ SET(QGIS_CORE_SRCS
 )
 
 
-FILE(GLOB JSON_HELP_FILES "${CMAKE_SOURCE_DIR}/resources/function_help/json/*")
+FILE(GLOB JSON_HELP_FILES "${CMAKE_SOURCE_DIR}/resources/function_help/json/a*")
 IF(NOT USING_NINJA)
   STRING(REPLACE "$" "$$" JSON_HELP_FILES "${JSON_HELP_FILES}")
 ENDIF(NOT USING_NINJA)
@@ -980,9 +980,9 @@ ENDIF (QT_MOBILITY_LOCATION_FOUND)
 TARGET_LINK_LIBRARIES(qgis_core
   ${QT_QTMAIN_LIBRARY}
   ${QT_QTXML_LIBRARY}
-  ${QT_QTCORE_LIBRARY}
-  ${QT_QTGUI_LIBRARY}
-  ${QT_QTNETWORK_LIBRARY}
+  ${QT_QTCORE_LIBRARY} ${QT_QTCORE_LIB_DEPENDENCIES}
+  ${QT_QTGUI_LIBRARY} ${QT_QTGUI_LIB_DEPENDENCIES}
+  ${QT_QTNETWORK_LIBRARY} ${QT_QTNETWORK_LIB_DEPENDENCIES}
   ${QT_QTSVG_LIBRARY}
   ${OPTIONAL_QTWEBKIT}
   ${QT_QTSQL_LIBRARY}
